package com.zjj.xiancheng.tongxun;

/**
 * @author zhoujunjie
 * @desc TODO
 * @date
 */
public class Test {

    public static void main(String[] args) {
        Account account = new Account("建行" , 10000.0);

        DepositThread deposit = new DepositThread(account);
        WithdrawThread withdraw = new WithdrawThread(account);

        new Thread(deposit , "粑粑").start();
        new Thread(deposit , "麻麻").start();
        new Thread(withdraw , "哥哥").start();
        new Thread(withdraw , "妹妹").start();
    }

}
